'''A phrasebook module.'''
############################################################################
#    Copyright (C) 2006 by Robert Small                                    #
#    SmallR2002@Gmail.com                                                  #
#                                                                          #
#    This program is free software; you can redistribute it and#or modify  #
#    it under the terms of the GNU General Public License as published by  #
#    the Free Software Foundation; either version 2 of the License, or     #
#    (at your option) any later version.                                   #
#                                                                          #
#    This program is distributed in the hope that it will be useful,       #
#    but WITHOUT ANY WARRANTY; without even the implied warranty of        #
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         #
#    GNU General Public License for more details.                          #
#                                                                          #
#    You should have received a copy of the GNU General Public License     #
#    along with this program; if not, write to the                         #
#    Free Software Foundation, Inc.,                                       #
#    59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             #
############################################################################

__module_name__        = "bcphrasebook"
__module_version__     = "0.0.1"
__module_description__ = "A phrasebook module."

import xchat

def noasl(word, word_eol, userdata): #IGNORE:W0613
    '''
    Explains that there's no asl here.
    @param word: all the data you need to work with, chopped up into small parts.
    @type word: string
    @param word_eol: all the data you need to work with, chopped from wherever you're starting from.
    @type word_eol: string
    @param userdata: custom object to pass back.
    @type userdata: object
    '''
    xchat.command("msg " +  xchat.get_info('channel') + " We don't ASL here. We don't think if effects conversation.")
    return xchat.EAT_ALL
#End sub

def nodating(word, word_eol, userdata): #IGNORE:W0613
    '''
    Reminds that IRC is not a dating service.
    @param word: all the data you need to work with, chopped up into small parts.
    @type word: string
    @param word_eol: all the data you need to work with, chopped from wherever you're starting from.
    @type word_eol: string
    @param userdata: custom object to pass back.
    @type userdata: object
    '''
    xchat.command("msg " +  xchat.get_info('channel') + " Sorry this is not a dating service.")
    return xchat.EAT_ALL
#End sub

def english(word, word_eol, userdata): #IGNORE:W0613
    '''
    Asks for English.
    @param word: all the data you need to work with, chopped up into small parts.
    @type word: string
    @param word_eol: all the data you need to work with, chopped from wherever you're starting from.
    @type word_eol: string
    @param userdata: custom object to pass back.
    @type userdata: object
    '''
    xchat.command("msg " +  xchat.get_info('channel') + " Please can you speak English.")
    return xchat.EAT_ALL
#End sub

def pcusers(word, word_eol, userdata): #IGNORE:W0613
    '''
    Tells people that we use PC's.
    @param word: all the data you need to work with, chopped up into small parts.
    @type word: string
    @param word_eol: all the data you need to work with, chopped from wherever you're starting from.
    @type word_eol: string
    @param userdata: custom object to pass back.
    @type userdata: object
    '''
    xchat.command("msg " +  xchat.get_info('channel') + " Most people here are on PCs and its common for them to stay logged in all the time, even when they aren't home.")
    return xchat.EAT_ALL
#End sub